package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import javax.swing.ImageIcon;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JScrollBar;
import javax.swing.JTextArea;
import javax.swing.JButton;



import javax.swing.JPanel;

public class ViewExtentionReq_GUI extends JPanel{
	private JTextField extentionrequestdatetextField;
	
	private JTextField requestnumbertextField;
	private JTextField stagenametextField;
	private JTextField numberofdaystoextendtextField_3;
	private JButton cancelbutton;
	private JButton btnSubmit;
	private JButton btnReject;
	private JTextArea argumenttextArea;
	public ViewExtentionReq_GUI() {
		setLayout(null);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("                   Extention request");
		lblNewJgoodiesTitle.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setIcon(new ImageIcon(ViewExtentionReq_GUI.class.getResource("/Picture/Dj-View-icon.png")));
		lblNewJgoodiesTitle.setBounds(10, 11, 375, 121);
		add(lblNewJgoodiesTitle);
		
		JLabel lblExtentionRequestDate = DefaultComponentFactory.getInstance().createLabel("extention request date");
		lblExtentionRequestDate.setFont(new Font("Arial", Font.BOLD, 12));
		lblExtentionRequestDate.setBounds(10, 150, 152, 50);
		add(lblExtentionRequestDate);
		
		extentionrequestdatetextField = new JTextField();
		extentionrequestdatetextField.setBounds(188, 150, 182, 36);
		add(extentionrequestdatetextField);
		extentionrequestdatetextField.setColumns(10);
		
		requestnumbertextField = new JTextField();
		requestnumbertextField.setColumns(10);
		requestnumbertextField.setBounds(188, 218, 182, 36);
		add(requestnumbertextField);
		
		stagenametextField = new JTextField();
		stagenametextField.setColumns(10);
		stagenametextField.setBounds(188, 290, 182, 36);
		add(stagenametextField);
		
		numberofdaystoextendtextField_3 = new JTextField();
		numberofdaystoextendtextField_3.setColumns(10);
		numberofdaystoextendtextField_3.setBounds(188, 479, 182, 36);
		add(numberofdaystoextendtextField_3);
		
		JScrollBar scrollBar = new JScrollBar();
		scrollBar.setBounds(350, 349, 17, 92);
		add(scrollBar);
		
		argumenttextArea = new JTextArea();
		argumenttextArea.setBounds(188, 349, 179, 92);
		add(argumenttextArea);
		
		JLabel lblRequestNumber = DefaultComponentFactory.getInstance().createLabel("request number");
		lblRequestNumber.setFont(new Font("Arial", Font.BOLD, 12));
		lblRequestNumber.setBounds(10, 211, 162, 50);
		add(lblRequestNumber);
		
		JLabel lblStageName = DefaultComponentFactory.getInstance().createLabel("stage name");
		lblStageName.setFont(new Font("Arial", Font.BOLD, 12));
		lblStageName.setBounds(10, 279, 129, 50);
		add(lblStageName);
		
		JLabel lblNewJgoodiesLabel = DefaultComponentFactory.getInstance().createLabel("argument");
		lblNewJgoodiesLabel.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel.setBounds(10, 391, 152, 50);
		add(lblNewJgoodiesLabel);
		
		JLabel lblNumberOfDays = DefaultComponentFactory.getInstance().createLabel("number of days to extend");
		lblNumberOfDays.setFont(new Font("Arial", Font.BOLD, 12));
		lblNumberOfDays.setBounds(0, 476, 162, 50);
		add(lblNumberOfDays);
		
		cancelbutton = new JButton("Cancel");
		cancelbutton.setIcon(new ImageIcon(ViewExtentionReq_GUI.class.getResource("/Picture/Button-Close-icon.png")));
		cancelbutton.setBounds(10, 621, 141, 47);
		add(cancelbutton);
		
		btnReject = new JButton("reject");
		btnReject.setIcon(new ImageIcon(ViewExtentionReq_GUI.class.getResource("/Picture/Folders-OS-Security-Denied-Metro-icon.png")));
		btnReject.setBounds(159, 546, 141, 47);
		add(btnReject);
		
		btnSubmit = new JButton("Submit");
		btnSubmit.setIcon(new ImageIcon(ViewExtentionReq_GUI.class.getResource("/Picture/Ok-icon.png")));
		btnSubmit.setBounds(299, 621, 141, 47);
		add(btnSubmit);
	}
	public JTextField getExtentionrequestdatetextField() {
		return extentionrequestdatetextField;
	}
	public void setExtentionrequestdatetextField(
			JTextField extentionrequestdatetextField) {
		this.extentionrequestdatetextField = extentionrequestdatetextField;
	}
	public JTextField getRequestnumbertextField() {
		return requestnumbertextField;
	}
	public void setRequestnumbertextField(JTextField requestnumbertextField) {
		this.requestnumbertextField = requestnumbertextField;
	}
	public JTextField getStagenametextField() {
		return stagenametextField;
	}
	public void setStagenametextField(JTextField stagenametextField) {
		this.stagenametextField = stagenametextField;
	}
	public JTextField getNumberofdaystoextendtextField_3() {
		return numberofdaystoextendtextField_3;
	}
	public void setNumberofdaystoextendtextField_3(
			JTextField numberofdaystoextendtextField_3) {
		this.numberofdaystoextendtextField_3 = numberofdaystoextendtextField_3;
	}
	public JButton getCancelbutton() {
		return cancelbutton;
	}
	public void setCancelbutton(JButton cancelbutton) {
		this.cancelbutton = cancelbutton;
	}
	public JButton getBtnSubmit() {
		return btnSubmit;
	}
	public void setBtnSubmit(JButton btnSubmit) {
		this.btnSubmit = btnSubmit;
	}
	public JButton getBtnReject() {
		return btnReject;
	}
	public void setBtnReject(JButton btnReject) {
		this.btnReject = btnReject;
	}
	public JTextArea getArgumenttextArea() {
		return argumenttextArea;
	}
	public void setArgumenttextArea(JTextArea argumenttextArea) {
		this.argumenttextArea = argumenttextArea;
	}

}
